#ifndef __AUDIO_H
#define __AUDIO_H

#include "gd32f4xx.h"

extern uint8_t audio_status;

void Audio_Config(uint16_t samplingRate);
void Audio_Play(const uint8_t *audio, uint32_t audio_length, uint8_t mode);
void Audio_Stop(void);
void Audio_OnOff(uint8_t val);
#endif
